package com.yangwei.examination.teacher.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "bank_question_answer")
public class BankQuestionAnswer implements Serializable {
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 关联bank_question表
     */
    @TableField(value = "question_id")
    private Long questionId;

    /**
     * 正确答案的文本内容
     */
    @TableField(value = "answer_text")
    private String answerText;

    /**
     * 答案的排序
     */
    @TableField(value = "answer_order")
    private Long answerOrder;

    private static final long serialVersionUID = 1L;
}